* {
  /* デフォルトをリセット */
  margin: 0px;
  padding: 0px;
}

@media screen and (max-width:480px) {
 
	/*　この位置に記述する　*/
	main {
		width: 100%;
	}

  img{
    max-width: 100%;
  }
 
}

body {
  margin: 0.2em 0.2em 0.2em 0.5em;
  min-height: 100vh;
  /*   */
  display: grid;
  grid-template:
    "header"
    "main" 1fr
    "footer"
  ;
}

#container{
  max-width: 734px;
  max-height: 926px;
  margin: 0 auto;
}

#main_box{
  width: 100%;
  height: 100%;
  text-align: center;
}



/* TOP画像 */
h1 {
  padding: 0.5em;
  /*余白*/
  text-align: center;
  /*テキストの位置*/
}

/* 記事や文章のタグ */
article {
  padding: 0.5em;
  /*余白*/
  margin: 0 auto;
  text-align: center;
  /*テキストの位置*/
  border-top: #bfbfbf 1px solid;
  width: 647px;
}

main p {
  margin-top: 1em;
  /*トップ余白*/
  margin-bottom: 0.5em;
  /*ボトム余白*/
}
/* menu */
.p1 {
  width: 632px;
  height: 252px;
  background-color: #fff;
  padding: 15px;
  margin:  auto;               /* 中央寄せ */
  margin-bottom: 1em;
  border-top: #bfbfbf solid 1px;
  border-bottom: #bfbfbf solid 1px;

}

.p1 ul li {
  width: 200px;
  height: auto;
  float: left;
  margin-right: 16px;
  list-style: none
}

.p1 ul li#list_last {
  margin-right: 0;
}

.p1 dl dt {
  height: 200px;
  margin-bottom: 8px;
  text-align: center;  /*テキストの位置*/
}

.p1 dl dd.menu_name {
  font-size: 14px;
  font-weight: 900;
  text-align:  center;        /* 中央寄せ */
}

.p1 dl dd.menu_comment {
  font-size: 12px;
  line-height: 18px;
  text-align:  center;        /* 中央寄せ */
}
/* 文字協調字使用 */
strong.red {
  color: red;
}

strong.blue {
  color: blue;
}

.socialEffect__box{
  padding: 2em;  /*余白*/
  text-align: center;
  margin:  auto;               /* 中央寄せ */
  max-width: 662px;
}

/* 共通のアイコンエフェクト */
.socialEffect__link {
  margin: auto;
  display: block;
  width: 60px;
  height: px;
  line-height: 60px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  color: #bfbfbf;
  font-size: 1.6rem;
  background: rgba(12, 0, 0, 0.329);
  transition: transform ease-out 0.2s;
  }

.socialEffect__box li {
  display: inline-block;
  align-items: center;
  list-style: none;
}

/* インスタ用アイコン設定 */
.icon-instagram::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: -1;
  transform: scale(0.9);
}
.fab.fa-instagram {
  display: inline-block;
  color: #fff;
}
.icon-instagram:hover {
  background: radial-gradient(
      circle farthest-corner at 32% 106%,
      rgb(255, 225, 125) 0%,
      rgb(255, 205, 105) 10%,
      rgb(250, 145, 55) 28%,
      rgb(235, 65, 65) 42%,
      transparent 82%
    ),
    linear-gradient(135deg, rgb(35, 75, 215) 12%, rgb(195, 60, 190) 58%);
  transform: scale(0.9);
}

/* フェイスブック用アイコン設定 */
.icon-facebook::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: -1;
  transform: scale(0.9);
}
.fab.fa-facebook-f {
  display: inline-block;
  color: #fff;
}
.icon-facebook:hover {
  background: #3b5998;
  transform: scale(0.9);
}

/* ツイッター用アイコン設定 */
.icon-twitter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: -1;
  transform: scale(0.9);
  
}
.fab.fa-twitter {
  display: inline-block;
  color: rgb(252, 252, 252);
  
}
.icon-twitter:hover {
  background: #00b0ed;
  transform: scale(0.9);
}
/* YouTube用アイコン設定 */
.icon-youtube::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: -1;
  transform: scale(0.9);
  
}
.fab.fa-youtube {
  display: inline-block;
  color: rgb(252, 252, 252);
  
}
.icon-youtube:hover {
  background: #ed4300;
  transform: scale(0.9);
}
/* 黄色線を引く */
strong.yellow {
  background: linear-gradient(transparent 0%, #f6ff5f 0%);
}

p.address{
  display: block;
  margin: auto;
  width: 647px;
  border-bottom: #bfbfbf solid 1px;
  text-align: center;
/*テキストの位置*/
  margin-top: 5em;
  margin-bottom: 1em;
}

/* お問い合わせ */
.p2 {
  /* --background-color:  #ddd;    背景色指定 */
  height: 40px;              /* 高さ指定 */
  text-align:  center;        /* 中央寄せ */
  margin:  auto;               /* 中央寄せ */
  display: -webkit-flex;
  display: flex;

}

.p2_item {
    margin:  30px;               /* 外側の余白 */
    text-align: left;
}

@media screen and (min-width:481px) {
	.sp{
		display: none;
	}
}
@media screen and (max-width:480px) {
	.pc{
		display: none;
	}
}

main p.bottom {
  /*ボトムを詰める時*/
  margin-bottom: 0;
  padding-bottom: 0;
}



/* --------------------ヘッダーのタグ-------------------- */
header {
  background-color: #e6e6e6;
  /* 背景色 */
}

/* headerA,B,Cを横並びにする */
.headerFront {
  display: flex;
  justify-content: space-between;
}

.date{
 font-size: 12px; 
 padding-left: 70%;
}

footer{
  text-align: center;
  font-size: 12px;
}